#ifndef _PLUNDERHONORDROP_H_
#define _PLUNDERHONORDROP_H_
#include "MgrBase.h"
#include "SimpleRefection.h"
class PlunderHonorDrop:public ReflectionBase
{
	DECL_REFLECTION(PlunderHonorDrop,"../../config/PlunderHonorDrop.xml");
public:
	int32			m_iID;
	std::string		m_sDisplayName;
	int32			m_iPlayerToLvl;
	int32			m_iWinDropID;
	int32			m_iFailedDopID;
	int32			m_iDropCount;

	rewrite virtual void OnArchieveReaded();
private:
};

typedef DefMangerTpl<PlunderHonorDrop> __PlunderHonorDropManager; //eDefaultDef_Num
class PlunderHonorDropManager:public __PlunderHonorDropManager
{
public:
	static PlunderHonorDropManager& Instance(){static PlunderHonorDropManager _instance;return _instance;	}
	virtual void OnArchieveReaded();
	const PlunderHonorDrop* LookupPlunderHonorDropByLvl(int32 iLvl); 
private:
	PlunderHonorDropManager(){}
	std::vector<const PlunderHonorDrop*> m_vSortedList;
};

#endif
/////////////////////////////////////////
